package spring.in.action.chapter_02;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CDConfig
{
    @Bean
    public CDPlayer cdPlayer()
    {
        System.out.println("cdPlayer实例化");
        return new CDPlayer();
    }
}
